package com.web3.management.repository;

import com.web3.management.entity.ConfigHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ConfigHistoryRepository extends JpaRepository<ConfigHistory, Integer> {

    Page<ConfigHistory> findByConfigIdOrderByCreatedAtDesc(Integer configId, Pageable pageable);
}
